projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18cc0a0
)
babl/babl-format: add formats with custom RGB spaces to format db
author
Øyvind Kolås
<pippin@gimp.org>
Tue, 29 Aug 2017 21:27:45 +0000
(23:27 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Tue, 29 Aug 2017 23:36:55 +0000
(
01:36
+0200)
babl/babl-format.c
patch
|
blob
|
history
diff --git
a/babl/babl-format.c
b/babl/babl-format.c
index 6a7ebb2ab35ed7a60970e93be07ca5ba8045ce9c..0afba64a8459e20fa54952f9183874829cef8da4 100644
(file)
--- a/
babl/babl-format.c
+++ b/
babl/babl-format.c
@@
-144,6
+144,8
@@
format_new_from_format_with_space (const Babl *format, const Babl *space)
(void*)babl_remodel_with_space (BABL(format->format.model), space),
space,
format->format.component, format->format.sampling, (void*)format->format.type);
+
+
return ret;
}
@@
-732,6
+734,7
@@
babl_format_with_space (const char *name, const Babl *space)
return ret;
ret = format_new_from_format_with_space (babl_format (name), space);
+ babl_db_insert (db, ret);
}
return ret;
}